<?php
/**
 * Represens a Non Player Character.
 *
 * @author Mark Dohmen.
 */
final class NPC extends Character {
	
	/**
 	 * The NPC information.
 	 */
	private $npcDefinitions;
	
	/**
 	 * Class Constructor.
	 *
	 * @param $npcDefinition
 	 */
	final public function NPC(NPCDefinition $npcDefinition) {
		$this->npcDefinition = $npcDefinition;
	}

	/**
 	 * Gets the NPCDefinition.
	 *
	 * @return $npcDefinition/null
 	 */	
	final public function getNPCDefinitions() {
		if ($this->npcDefinition instanceof NPCDefinition) {
			return (object) $this->npcDefinition;
		}
		return NULL;
	}
}
?>